package com.ygqh.baby.excel.domain;

import com.ygqh.baby.excel.annotation.ExcelField;
import com.ygqh.baby.model.SkuBasicData;

import java.math.BigDecimal;

/**
 * 〈外部订单导入模板〉
 *
 * @author guohao
 * @date 2019/5/14 9:31
 * @since 1.0.0
 */
public class OutOrderImportEntity extends AbstractExcelReadEntity {

    @ExcelField(head = "外部订单号")
    private String outCode;

    @ExcelField(head = "收货人姓名")
    private String receiver;

    @ExcelField(head = "收货人手机号")
    private String telPhone;

    @ExcelField(head = "省")
    private String provinceName;

    @ExcelField(head = "市")
    private String cityName;

    @ExcelField(head = "区")
    private String areaName;

    @ExcelField(head = "详细地址")
    private String address;

    private String remark;

    @ExcelField(head = "SKU编码")
    private String skuCode;

    @ExcelField(head = "购买数量")
    private Long quantity;

    @ExcelField(head = "销售价")
    private BigDecimal salePrice;


    /**
     * 业务属性 构建订单对象 使用
     * ***********************************
     */
    private SkuBasicData skuBasicData;

    public SkuBasicData getSkuBasicData() {
        return skuBasicData;
    }

    public void setSkuBasicData(SkuBasicData skuBasicData) {
        this.skuBasicData = skuBasicData;
    }

    /**
     * ***********************************
     */

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getOutCode() {
        return outCode;
    }

    public void setOutCode(String outCode) {
        this.outCode = outCode;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
